package com.ruoyi.common.base.user.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;

import java.math.BigDecimal;

/**
 * 代理信息对象 agent
 *
 * @author gdk
 * @date 2023-05-27
 */
@Data
public class Agent extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    private Long id;

    /**
     * 邀请数量
     */
    @Excel(name = "邀请数量")
    private Integer inviteNum;

    /**
     * 分红
     */
    @Excel(name = "分红")
    private BigDecimal dividend;

    /**
     * 提现金额
     */
    @Excel(name = "提现金额")
    private BigDecimal withdrawal;

    /**
     * 冻结金额
     */
    @Excel(name = "冻结金额")
    private BigDecimal frozen;

    /**
     * 余额
     */
    @Excel(name = "余额")
    private BigDecimal balance;

    /**
     * 状态
     */
    @Excel(name = "状态")
    private String status;

    /**
     * 是否删除（0否,null是）
     */
    @Excel(name = "是否删除", readConverterExp = "0=否,null是")
    private String isDeleted;
}
